package com.holly.unit.deform.designer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * 类描述: 通用新增修改删除SQL语句
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/8/3 9:17
 */
public interface DmlMapper extends BaseMapper<Object> {

    @Insert("${sql}")
    int insert(@Param("sql") String sql);

    @Update("${sql}")
    int update(@Param("sql") String sql);

    @Delete("${sql}")
    int delete(@Param("sql") String sql);

}
